<div class="gn-sort-by">
  <div class="btn-group">
    <button type="button"
            class="btn btn-default dropdown-toggle"
            data-toggle="dropdown"
            aria-expanded="false">
      <span data-translate=""
            data-translate-values="{field: '{{params.sortBy | translate}}'}"
            class="">sortedBy</span>
      <i class="fa fa-sort fa-fw"/>
    </button>
    <ul class="dropdown-menu" role="menu">
      <li data-ng-repeat="v in ::values"
          role="menuitem"
          data-ng-class="v.sortBy === params.sortBy ? 'disabled' : ''">
        <a href="" data-ng-click="sortBy(v)">{{v.sortBy | translate}}</a></li>
    </ul>
  </div>
</div>
